package me.yuzho.study;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CommandPro {
	
	private final static Logger logger = LoggerFactory.getLogger(CommandPro.class);
	//public static boolean disabled = true;

    public static void main(String[] args) {
        
        System.out.println(args.length);
        
        

        String proName = CommandPro.class.getName() + ".disabled";
        
        //System.setProperty(proName, "true");
        
        logger.info(proName + ": " + Boolean.getBoolean(proName));
        
        /*
        StringBuffer sbBuffer = new StringBuffer();
        sbBuffer.append("eee");
        
        StringBuilder sbBuilder = new StringBuilder();
        sbBuilder.append("eee");*/
        
        //String test = "A12345678900001 A12345678900002 A12345678900003 A12345678900004 A12345678900005";
        String test = "A12345678900001\nA12345678900002\nA12345678900003\nA12345678900004\nA12345678900005";
        
        String [] arr = test.split("\\s");
        
        System.out.println(test);
        System.out.println(arr.length);
        
        logger.error("{} {} {} {}", "123", "123", "123", "123");

    }

}
